package city.spring.modules.medicine.service;

import city.spring.modules.medicine.entity.MedicinedeliveryMedicineExtEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * Service：药品出库与药品关联表
 *
 * @author 谢金婷
 * @date 2020-07-08 16:17:05
 */
public interface MedicinedeliveryMedicineExtService extends IService<MedicinedeliveryMedicineExtEntity> {
    String CACHE_NAME = "medicinedelivery_medicine_ext";

    /**
     * 业务处理：保存一个 <strong>药品出库与药品关联表</strong>
     *
     * @param entity 药品出库与药品关联表
     */
    void saveMedicinedeliveryMedicineExt(MedicinedeliveryMedicineExtEntity entity);

    /**
     * 业务处理：修改一个 <strong>药品出库与药品关联表</strong>
     *
     * @param entity 药品出库与药品关联表
     */
    void updateMedicinedeliveryMedicineExt(MedicinedeliveryMedicineExtEntity entity);

    /**
     * 业务处理：删除一个 <strong>药品出库与药品关联表</strong>
     *
     * @param primaryKey 主键ID
     */
    void deleteMedicinedeliveryMedicineExt(String primaryKey);

    /**
     * 业务处理：删除多个 <strong>药品出库与药品关联表</strong>
     *
     * @param primaryKeys 主键ID列表
     */
    void deleteMedicinedeliveryMedicineExt(List<String> primaryKeys);


}